/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.front.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 测试报告内容管理Entity
 * @author 朱俊吉
 * @version 2017-12-04
 */
public class Report extends DataEntity<Report> {
	
	private static final long serialVersionUID = 1L;
	private String detail;		// 描述
	private String examType;		// 测试类型（1：兴趣，2：性格）
	private String resultCategory;		// 结果分类
	private String content;		// content
	
	public Report() {
		super();
	}

	public Report(String id){
		super(id);
	}

	@Length(min=1, max=255, message="描述长度必须介于 1 和 255 之间")
	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}
	
	@Length(min=1, max=1, message="测试类型（1：兴趣，2：性格）长度必须介于 1 和 1 之间")
	public String getExamType() {
		return examType;
	}

	public void setExamType(String examType) {
		this.examType = examType;
	}
	
	@Length(min=1, max=10, message="结果分类长度必须介于 1 和 10 之间")
	public String getResultCategory() {
		return resultCategory;
	}

	public void setResultCategory(String resultCategory) {
		this.resultCategory = resultCategory;
	}
	
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
}